<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
        <div data-th-replace="common/functionDepict"></div>
        <div class="row">
            <div class="creat-step-wrap clearfix">
                <div class="col-sm-6 creat-step-current">
                    <div class="creat-step-bx">
                        <span class="vam fs24 c-4e"><i class="fa fa-hand-pointer-o"></i></span>
                        <div class="creat-step-txt">
                            <h5><span class="fs18 c-222">第一步：基本信息</span></h5>
                            <span class="fs14 c-999">体系树基本信息-名称、专业适用系统等</span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6" id="back_next">
                    <div class="creat-step-bx">
                        <span class="vam fs24 c-4e"><i class="fa fa-hand-peace-o"></i></span>
                        <div class="creat-step-txt">
                            <h5><span class="fs18 c-222">第二步：内容信息</span></h5>
                            <span class="fs14 c-999">知识体系的明细目录</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="pt10">
                <div class="col-sm-9">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>填写基本信息</h5>
                        </div>
                        <form id="loreset-form">
                            <div class="ibox-content clearfix pt10">
                                <div class="form-horizontal">
                                    <input type="hidden" id="_subjectIds" th:value="${loreset['subjectIds']}"/>
                                    <input type="hidden" id="loresetId" name="id" th:value="${loreset['id']}"/>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 知识体系名称</label>
                                        <div class="col-sm-8">
                                            <input class="form-control validate-data" type="text" name="loresetName" th:value="${loreset['loresetName']}"/>
                                            <span class="help-block m-b-none c-999">知识体系名称 限30个字以内</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <input type="hidden" name="subjectIds" id="subjectIds" th:value="${loreset['subjectIds']}"/>
                                        <label class="col-sm-2 control-label"><i class="c-red">*</i> 选择专业</label>
                                        <div class="col-sm-8">
                                            <div id="lore-subject-box"></div>
                                            <div id="lore-subject-context"></div>
                                            <span class="help-block m-b-none c-999">选择所属专业或去新建</span>
                                        </div>
                                        <div class="col-sm-2 mt10"><a href="javascript:;" onclick="getRedirectMenu(baseloaction+'/admin/manage/subject/toSubjectList')"><i class="fa fa-plus"></i> 新建专业</a></div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-6 col-sm-offset-2">
                                            <button id="save-continue" class="btn btn-primary" type="button">保存，下一步</button>
                                            <button id="save-back" class="btn btn-primary ml10" type="button">保存，返回</button>
                                            <button id="cancel" onclick="window.history.go(-1)" class="btn btn-white ml10" type="button">取消</button>
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <div data-th-replace="common/importantNotes"></div>
            </div>
        </div>
    </div>
    <div data-th-replace="layout/head-footer"></div>
    <script type="text/javascript" th:src="@{{path}/admin/business/manage/loreset/save-lore.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>
